﻿<%@ Page Language="C#" MasterPageFile="~/TrangQuanLy.master" AutoEventWireup="true"
    CodeFile="ThemTinTuc.aspx.cs" Inherits="ThemTinTuc" Title="Thêm tin tức" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    <div style="font-family: Arial, Helvetica, sans-serif; font-size: 12pt">
        -&nbsp;&nbsp;&nbsp; Thêm Tin Mới</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <br />
    <div>
        <table style="width: 800px" align="center" cellpadding="5" cellspacing="0">
            <tr>
                <td style="width: 150px">
                    Tiêu đề Tin:
                </td>
                <td style="width: 650px">
                    <asp:TextBox ID="txttieude" runat="server" meta:resourcekey="txttenResource1" Width="350px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txttieude"
                        ErrorMessage="( * )"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Nội dung tóm tắt:
                </td>
                <td>
                    <asp:TextBox ID="txtnoidungtt" runat="server" meta:resourcekey="txtkieuResource1"
                        Width="350px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtnoidungtt"
                        ErrorMessage="( * )"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Hình ảnh tiêu đề:
                </td>
                <td>
                    <asp:FileUpload ID="FileUploadHinh" runat="server" meta:resourcekey="FileUploadsmallResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="FileUploadHinh"
                        ErrorMessage="( * )"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Ngày đăng tin:
                </td>
                <td>
                    <asp:Calendar ID="Calendar1" runat="server" Width="350px"></asp:Calendar>
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Nội Dung</td>
                <td>
                    <asp:TextBox ID="TextBox1" runat="server" Height="164px" Width="490px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td valign="top" colspan="2" style="text-align: center">
                    <asp:Button ID="btnLuu" runat="server" OnClick="btnLuu_Click1" Text="Lưu Thông Tin" />
                    &nbsp;<asp:Button ID="btnlamlai" runat="server" OnClick="btnlamlai_Click" Text="Làm Lại" />
                </td>
            </tr>
        </table>
        <br />
    </div>
</asp:Content>
